@font-face {
    font-family: 'iconfont';
    src: url('icons/iconfont.eot');
    src: url('icons/iconfont.eot?#iefix') format('embedded-opentype'),
        url('icons/iconfont.woff2') format('woff2'),
        url('icons/iconfont.woff') format('woff'),
        url('icons/iconfont.ttf') format('truetype'),
        url('icons/iconfont.svg#iconfont') format('svg');
}

.iconfont {
    font-family: "iconfont" ;
    font-size: 16px;
    font-style: normal;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

ul{
    position: absolute;
    /* left: 0px;
    top: 0px; */
    list-style: none;
    width: 200px;
    height: 200px;
    background-color: sandybrown;
}





.wrapper{
    width: 800px;
    height: 350px;
    border: 1px solid #ddd;
    perspective: 500px;
}

.inner{
    width: 100%;
    height: 100%;
    position: relative;
    transform-style: preserve-3d;
    animation: rotate 8s linear infinite;
}


@keyframes rotate{
    100%{
        transform: rotateY(360deg);
    }
}

.inner div{
    position: absolute;
    height: 100px;
    width: 160px;
    left: calc(50% - 80px);
    top: calc(50% - 50px);
}

.inner div:nth-child(1){
    background:  url(images/img1.jpg) no-repeat;
    background-size: 100% 100%;
}

.inner div:nth-child(n+2){
    background:  url(images/img2.jpg) no-repeat;
    background-size: 100% 100%;
}

.inner div:nth-child(2){
    transform:  rotateY(60deg) translateZ(300px);
}
.inner div:nth-child(3){
    transform:  rotateY(120deg) translateZ(300px);
}
.inner div:nth-child(4){
    transform:  rotateY(180deg) translateZ(300px);
}
.inner div:nth-child(5){
    transform:  rotateY(240deg) translateZ(300px);
}
.inner div:nth-child(6){
    transform:  rotateY(300deg) translateZ(300px);
}
.inner div:nth-child(7){
    transform:  rotateY(360deg) translateZ(300px);
}